package com.example.myapplication;

// 商品类
public class ProductBean {
    int image;          // 图片
    String name;        // 商品名字
    int price;          // 价格
    int count;          // 数量
    int type;           // 类型，是否自营

    public ProductBean(int image, String name, int price, int count, int type) {
        this.image = image;
        this.name = name;
        this.price = price;
        this.count = count;
        this.type = type;
    }

    public int getImage() {
        return image;
    }

    public String getName() {
        return name;
    }

    public int getPrice() {
        return price;
    }

    public int getCount() {
        return count;
    }

    public int getType() {
        return type;
    }
}
